<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.zy.pro.utils.Constant"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
String imageService = Constant.DECOR_IMAGE_SERVICE_URL;
%>
<c:set var="root" value="<%=basePath %>"></c:set>
<c:set var="imageService" value="<%=imageService%>"></c:set>
<ul class="product-head" style="border-bottom: 2px solid #dbdbdb;padding: 10px 10px 0;">
	<li><a href="#">COMMENT</a> <span>::</span></li>
	<li class="active-page">DETAIL</li>
	<div class="clearfix"> </div>
</ul>
<c:if test="${not empty commentPageView.records }">
	<c:forEach items="${commentPageView.records }" var="comment">
		<div class="details">
			<h4>【User】${comment.commentUserName }</h4>
			<p><span>Score：<fmt:formatNumber type="number" pattern="###.#">${comment.starLevel }</fmt:formatNumber>分</span><span style="float: right;"><fmt:formatDate value="${comment.commentCreateTime}" pattern="yyyy-MM-dd"/></span></p>
			<p style="border-bottom: 1px solid #dbdbdb;padding-bottom: 10px;">${comment.commentContent }</p>
		</div>
	</c:forEach>
</c:if>
<%@ include file="/share/shopCommentPage.jsp" %>
